import time
from selenium import webdriver
from selenium.webdriver.common.by import By
# 创建浏览器驱动
driver = webdriver.Chrome()
# 获取访问页面
driver.get("http://121.43.169.97:8848/pageA.html")
driver.find_element(By.PARTIAL_LINK_TEXT,"网站").click()
driver.maximize_window()
time.sleep(3)
driver.quit()